package com.mirana.module.common.model.dictpm;

import com.mirana.frame.base.model.BaseModel;
import com.mirana.frame.db.base.anno.ColumnPlus;
import com.mirana.frame.db.base.anno.FKPlus;
import com.mirana.frame.db.base.anno.Notes;
import com.mirana.frame.db.base.anno.TablePlus;
import lombok.Data;

@Data
@Notes("售中项目验收清单表")
@TablePlus(name = "dict_sz_accept_list")
public class DictSzAcceptList extends BaseModel {

    @Notes("项目id，外键")
    @ColumnPlus()
    @FKPlus(tableClass = DictProject.class, column = "id")
    private Long project_id;

    @Notes("清单名称")
    @ColumnPlus(default_val = "''", length = "50")
    private String acceptance_name;

    @Notes("实施记录说明")
    @ColumnPlus(default_val = "''", length = "50")
    private String record_explain;

    @Notes("实施记录状态，默认0，0尚未实施，1进行中，2已完成")
    @ColumnPlus(default_val = "0", length = "2")
    private int record_state;

    @Notes("清单文档id")
    @ColumnPlus()
    @FKPlus(tableClass = DictPlanDoc.class, column = "id")
    private Long plandoc_id;

}
